package oj;

/**
 * @author 郝文雪
 * @date 2022/7/27 11:27
 * @Description Test
 */
public class Day26跳台阶扩展问题 {
    public int jumpFloorII (int number) {
        // write code here
        if(number==1){
            return 1;
        }
        return (int)Math.pow(2,number-1);
    }
}
